package cn.btks.resultintegration.rule.repository;

import cn.btks.resultintegration.rule.pojo.AtmosphereRule;
import cn.btks.resultintegration.rule.pojo.EnvironmentSoilRule;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * @Author lijun
 * @Date 2021/8/1 15:15
 */
@Repository
public interface EnvironmentSoilRuleRepository extends JpaRepository<EnvironmentSoilRule,Long>, JpaSpecificationExecutor<EnvironmentSoilRule> {

    /**
     * 根据编码查询
     * @param code
     * @return
     */
    EnvironmentSoilRule findByCode(String code);
}
